home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / gt_power / gtrprd11.zip / GTRPROD.DOC < prev    next >
Text File  |  1989-06-01  |  24KB  |  433 lines

  1.  
  2.  
  3.                               Gateway to ProDoor
  4.  
  5.                              for GT Power systems
  6.  
  7.                                   Version 1.1
  8.  
  9.  
  10.  
  11.    DISCLAIMER:
  12.    ----------
  13.  
  14.         This package, in it's entirety, MUST be distributed together in 
  15.         some way, shape or form (dare I say the A-word?).  None of the 
  16.         contents may be altered in ANY way, except for personal use, and no 
  17.         compensation may be charged for it's use or distribution.
  18.  
  19.  
  20.    CONTENTS:
  21.    --------
  22.  
  23.         As it came from me, this file was named GTRPRD10.ZIP and contained 
  24.         the files needed for a GT Sysop to set up ProDoor 2.9 as a door on 
  25.         his or her BBS.  Much of the configuration of ProDoor may be done 
  26.         using supplied utilities with that package.  This 'gateway' package 
  27.         is meant only to help supply certain files needed for the initial 
  28.         installation of ProDoor.  From there, you're on your own. 
  29.  
  30.         This file SHOULD contain the following files:
  31.  
  32.              GTRPROD.DOC
  33.              - If you can't figure THIS one out, you're in REAL trouble!
  34.              D&B-EDIT.EXE, D&B-EDIT.DOC
  35.              - A program to edit the DIR.LST and BLT.LST files, with docs.
  36.              MAKE_LOG.EXE, MAKE_LOG.DOC
  37.              - This will make the CALLER log file look better by entering 
  38.                the 'logon' and 'logoff' entries in it.
  39.              MAKE_NET.EXE, MAKE_NET.DOC
  40.              - A little do-nothing program to create and update the
  41.                USERNET.DAT file which is used in the NODE command to tell
  42.                the user what the other nodes are doing on a multi-node
  43.                system.  Since this serves no real purpose on a GT board,
  44.                it's mainly for 'show'.  ProDoor 2.9 doesn't support any
  45.                inter-nodal activities.  Docs included.
  46.              PCBOARD.DAT
  47.              - Sample PCBOARD.DAT file for PCBoard 14.0.
  48.              CNAMES 
  49.              - Used by PCBoard to define the file/directory names and 
  50.                certain configuration parameters for message bases, bulletin 
  51.                files, directory files & areas, doors, script files and 
  52.                upload areas.  In this file are the definitions for the 
  53.                "Main Board" area and may be additional sections for 
  54.                conference areas.
  55.              CNFN, CNFNG
  56.              - The Conference Menu, both ASCII and ANSI versions.
  57.              NEWS, NEWSG
  58.              - A news bulletin that you may put up.  May have both ASCII
  59.                and ANSI versions.
  60.              DOORS, DOORSG
  61.              - The Doors Menus, both ASCII and ANSI versions.
  62.              DOORS.LST
  63.              - The doors control file list.
  64.              DOOR1, DOOR2
  65.              - Sample door batch files.
  66.              BLT, BLTG
  67.              - The Bulletin Menus, both ASCII and ANSI versions.
  68.              BLT.LST
  69.              - The bulletin control file list.
  70.              BLT1, BLT1G
  71.              - Sample bulletin files.
  72.              DIR, DIRG
  73.              - The File Section Menus, both ASCII and ANSI versions.
  74.              DIR.LST
  75.              - The file section control file list.
  76.              DLPATH.LST
  77.              - Sample directory path search list.
  78.              DIR1, DIR1G
  79.              - Sample file description listings.
  80.              FSEC, UPSEC
  81.              - File Security control file lists for downloading and
  82.                uploading files.
  83.              GTDOOR1.BAT
  84.              - A sample batch file to install in GT's door batch files
  85.                section to control ProDoor. 
  86.              PRODOOR
  87.              - This is the main ProDoor controlling batch file.  Notice the 
  88.                lack of an extension.  It is done this way because of the way 
  89.                PCBoard works.  It should be copied over to the 'system' 
  90.                directory (the path on ProDoor's command line, and where the 
  91.                .SYS and .DAT files are kept) under the name DOOR.BAT.  This 
  92.                may be called recursively by the various batch-related 
  93.                functions of ProDoor. 
  94.              BOARD.BAT
  95.              - This is used on PCBoard systems to return to the board. with 
  96.                GT, it serves no purpose except to act as a 'dummy' batch file 
  97.                for ProDoor to exit to.  You may include certain routines in 
  98.                here to tidy up after running the door. 
  99.  
  100.  
  101.    PURPOSE:
  102.    -------
  103.  
  104.         For those of us who run GT Power BBSes, unless we also frequent
  105.         many PCBoard systems, we wouldn't normally know much about ProDoor,
  106.         because it isn't your 'every day' type of door that you use a
  107.         little GT-to-PCB conversion on to run.  This one goes a little
  108.         beyond that.  This is not a game...this is a utility program, and a
  109.         very NICE one, at that!
  110.  
  111.         ProDoor is written by Sam Smith, Sysop of the Tool Shop BBS at
  112.         (602) 264-3969, and it's designed to provide a very user-friendly
  113.         interface to viewing/testing/repacking ZIP files, extracting text
  114.         files within them to the screen, even extracting files within them
  115.         into a 'scratch' file (for download within the door) in case a user
  116.         wants to download only the documentation to a program, and not the
  117.         whole file.  Not only does it interface to ZIP file management, it
  118.         can also be used to read messages, write messages (using a full-
  119.         screen editor, in desired), include 'quotes' from previous
  120.         messages, scanning for mail in all the conferences the user is
  121.         registered in and packing new messages into a ZIP file.  But that's
  122.         not all!  It can also scan for new files, for specific files or
  123.         text strings in the listings, upload/download files (using external
  124.         protocol drivers, like DSZ), and provide a security system for
  125.         files coming and going, to make sure no files of a specific nature
  126.         are accidentally sent or received.  ProDoor can also use a CD-ROM
  127.         library disk, if one is available.  It can access the bulletins,
  128.         file listings, NEWS file, conference menu, and a whole lot more. 
  129.         So, you see, it is a VERY nice utility to have around...on a 
  130.         PCBoard BBS!  Many of these files are FROM the PCBoard system
  131.         files, so setting this up on a GT board is not going to be easy,
  132.         unless you have something to get you started.
  133.  
  134.         One of the things I like about ProDoor (and also PCBoard) is that 
  135.         you can define certain bulletins, directories, message bases, etc. 
  136.         to be specific to a conference.  With this in mind, one could set 
  137.         up a conference with file areas accessible ONLY to that conference.  
  138.         You would need to be IN there to look at them.  This could find 
  139.         many uses, but I won't go into them here.
  140.  
  141.  
  142.    SETTING UP:
  143.    ----------
  144.  
  145.         Setting up ProDoor for anything other than a PCBoard BBS is not the 
  146.         easiest thing in the world to do, but I managed to do it on my 
  147.         board, so I'm putting together this 'gateway' package for others to 
  148.         use in setting it up. 
  149.  
  150.         Included in this file should be the necessary files that are needed 
  151.         by the installation program in the ProDoor package.  You will need 
  152.         several other packages in order to make the complete setup.  Here 
  153.         is a list of what you'll need, at the very least:
  154.  
  155.              GTRPRD11
  156.              - Obviously, if you don't have this file, you wouldn't be 
  157.                reading this document.  You'll need this package to get you 
  158.                going on setting up ProDoor. 
  159.              GTRPCB14
  160.              - This is another of my packages which will create the 
  161.                PCBOARD.SYS, PCBOARD.DAT and USERS files for PCBoard door 
  162.                programs to use. 
  163.  
  164.              PRODOR29 (or later)
  165.              - This is the main ProDoor package that includes ProDoor and 
  166.                associated data files, along with a few utility programs.
  167.              ZIPTV15 (or later)
  168.              - This is another of his programs for viewing ZIP files and
  169.                extracting text files within them to the screen.
  170.              DSZ, WXFER, PCKERMIT 
  171.              - These are all independent program files found on many BBSes 
  172.                that contain the external protocol drivers used by ProDoor 
  173.                for uploading and downloading files. 
  174.  
  175.         Optional files that you may need to keep things running smoothly 
  176.         might be:
  177.  
  178.              PROPCK25 (or later)
  179.              - Packs the message base files to save time and space.
  180.              PROEDT29 (or later)
  181.              - A message editor with a 'merge' function.
  182.              RECYCLE
  183.              - Allows you to run doors from this door, and return to it.
  184.  
  185.         When you have all the necessary files together, you'll need to do 
  186.         some editing of the included files in this package to customize the 
  187.         system to your needs.  There are several files in this package that 
  188.         will be used by ProDoor on a regular basis.  You should be able to 
  189.         edit these with a standard text editor.  On a few, you'll need the 
  190.         supplied D&B-EDIT.EXE utility to edit them.
  191.  
  192.         Before anything else, you should use MAKE_DAT to edit a PCBoard 
  193.         ver. 14.0 PCBOARD.DAT file.  In it, set things up the way you'd 
  194.         like them and especially configure the path/filename settings to 
  195.         what you will be using on your system.  Read the documentation 
  196.         included with that program on how to use it.  Most of the stuff
  197.         should point to the ProDoor directory, even though some of it won't
  198.         be used.
  199.  
  200.         Now, there are several text files - menus, control files, 
  201.         bulletins, etc. - that you will need to edit with your word 
  202.         processor and/or ANSI screen maker utility.  Below is the list of 
  203.         those files:
  204.  
  205.                 CNFN(G), NEWS(G), DOORS(G), DOORS.LST, BLT(G), DIR(G), 
  206.                 FSEC, UPSEC, GTDOOR1.BAT, PRODOOR, BOARD.BAT
  207.  
  208.         You will notice many of those names have no extension and also have 
  209.         a "(G)" after the name.  These files can have both an ASCII text 
  210.         and an ANSI graphics version to them, and the name will show a 'G' 
  211.         on the end for the ANSI version of it.  They have no filename 
  212.         extensions.  Now to go into detail what each is used for...
  213.  
  214.         First is the file CNFN.  This is the Conference Menu file.  Make up 
  215.         a list of conferences you plan on using in this door and list them 
  216.         in here for your users to pick out what they want.  This file must 
  217.         include ALL the conferences you are supporting as per the settings 
  218.         you make with the setup program PROSM.  Remember..."Main" is 
  219.         considered conference '0', and the rest go up from there.  Users 
  220.         must have their 'registration' settings set if they are to use a 
  221.         'private' conference (not designated as 'public' in PROSM).  As is, 
  222.         they should only be able to access "Main" and any other public 
  223.         conferences.  PROSM should allow you to do edit these settings.  
  224.         See the documentation included with ProDoor for using that program. 
  225.  
  226.         The NEWS file is a bulletin-like file that is displayed to the user 
  227.         if they want to see the news.  You can put whatever you want in 
  228.         here, or leave it out altogether. 
  229.  
  230.         The DOORS file is the door menu screen.  It lists ALL the doors 
  231.         that ProDoor is set up to run.  There's also a control file for 
  232.         this function called DOORS.LST.  It lists the door names, a 
  233.         password (if any) needed to run that door (for security reasons), 
  234.         and the security level needed to access that door.  These entries 
  235.         go one per line and are comma-delimited, like "EXAMPLE,PASSWORD,10" 
  236.         (only without the quotes).  Another might be "DOOR2,,30".  The 
  237.         first example shows the filename of the door batch file (yes, it's 
  238.         only the first part...no ".BAT"), the password needed to get in it, 
  239.         and it's rated for a security level of 10 or higher.  The second 
  240.         door entry is for a batch file named "DOOR2", has no password 
  241.         requirement, and is available for users of level 30 and up.  
  242.         ProDoor copies these files to a file called DOOR.BAT, in the 
  243.         'system' directory (the pathname listed as the second parameter to 
  244.         ProDoor's command line).  There it is run, and unless you use 
  245.         RECYCLE to recycle the door back to ProDoor, you'll likely end up 
  246.         back in GT!  ProDoor uses a temporary batch file "$DOOR.BAT" to do 
  247.         it's external work for it, like the doors and file transfers. 
  248.  
  249.         For the bulletins, there's a menu file called BLT.  This is a 
  250.         listing of all the bulletins available via the <B>ulletin command.  
  251.         It uses a control file called BLT.LST which holds the path and 
  252.         filenames of the bulletin files.  To edit this file, you'll need to 
  253.         use my little editing utility D&B-EDIT.EXE.  This file doesn't have 
  254.         a standard text format that a word processor can edit. 
  255.  
  256.         Then there's the DIR files.  These are the listings (menus) of the 
  257.         file directories that you want your users to have access to when 
  258.         downloading files.  This section uses a control file called  
  259.         DIR.LST, and is a list of the directories, their associated hard 
  260.         drive directory, and a little description of the area that's shown 
  261.         when ProDoor does a file or text search.  This is also a non-
  262.         standard text format that you'll need D&B-EDIT.EXE to edit with. 
  263.  
  264.         Another associated file is the DLPATH.LST file, which is simply a 
  265.         listing of directories (all followed by the '\' character) where 
  266.         ProDoor looks for the files.  Directories not listed here are not 
  267.         searched for files. 
  268.  
  269.         With PCBoard (and thus ProDoor), you can protect files with 
  270.         passwords and/or security levels, both for uploading and 
  271.         downloading.  The files that control this are FSEC (for 
  272.         downloading) and UPSEC (for uploading).  These file formats are 
  273.         identical, so I'll just explain the general format and let it go 
  274.         with that.  The format for an entry, which by the way is a standard 
  275.         text entry that you can edit with your editor, and goes one per 
  276.         line, is a pathname to the directory where the file(s) is/are you 
  277.         want to protect, the filename (including wildcards) of the file(s) 
  278.         being protected, the security level to allow access to them, and a 
  279.         password (if any) needed to transfer the file.  All fields are 
  280.         comma-delimited.  A sample might be: 
  281.  
  282.                 D:\FILES1\,SPECIAL.TXT,50,PROTECT 
  283.  
  284.         Where the path of the directory is D:\FILES1\ (notice the trailing 
  285.         backslash), the filename is SPECIAL.TXT, the file's access is 
  286.         limited to users with level 50 and above, and only using the 
  287.         password PROTECT.  The path and password may be omitted, but the 
  288.         space must exist for them, as such: 
  289.  
  290.                 D:\FILES\,*.*,10,
  291.                 ,*.EXE,75, 
  292.  
  293.         As you can see, wildcards in the filenames are permitted, and the 
  294.         filename & security level must be present.  You can use this to 
  295.         control who has access to special files, and password-protect them 
  296.         if the need arises.  If you have to special files, you may use a 
  297.         blank path, a filename wildcard "*.*", a low security level and no 
  298.         password. 
  299.  
  300.         Included should be sample batch files, of which the general layout 
  301.         should be kept, with only minor editing for the pathnames you'll be 
  302.         using on your system, and anything else you use regularly in doors.  
  303.         Such things as Gateway and Doorway should NOT be used in this door!  
  304.         It will most certainly cause problems and conflicts with which 
  305.         program gets to use the comm port.  A watchdog-like monitor should 
  306.         also NOT be used, as ProDoor monitors the carrier itself and 
  307.         returns to the board if carrier is lost.  Also, the 'G' command, 
  308.         for Goodbye, inside ProDoor DOES hang up the modem while returning 
  309.         to the board.  To return to the board without logging off, the 
  310.         'QUIT' command should be used.  You may want to set the access 
  311.         security for the 'G' command to a high level so users can't use it. 
  312.  
  313.         You will probably want to rename the sample GTDOOR1.BAT depending 
  314.         on the number of the door you are installing this as.  It should 
  315.         set up the USERS file, the PCBOARD.SYS and .DAT files and anything 
  316.         else that needs to be done before running ProDoor, like path 
  317.         settings, environment variables, etc.  The file PRODOOR is what 
  318.         actually runs ProDoor, and should be copied into the 'system' 
  319.         directory as DOOR.BAT.  The 'system' directory is the same as the 
  320.         path given to ProDoor on it's command line for parameter #2.  It 
  321.         should also have the .SYS and .DAT files in it.  Make sure this 
  322.         directory is NOT the GT directory!  Remember that little program 
  323.         called DOOR.EXE that came with GT 14.03??  It's quite likely IT 
  324.         will run instead, so you'd best take the GT directory out of the 
  325.         PATH to make sure you don't have conflicts with DOS running the 
  326.         wrong program!  I found this out the hard way since it happened 
  327.         here once, and locked up my computer tighter than a drum!  And 
  328.         lastly is a file called BOARD.BAT, which is used on PCBoard systems 
  329.         to return to the BBS software.  PCBoard relies on batch files to 
  330.         carry it though the steps when running doors, and BOARD.BAT is the 
  331.         main one.  On a GT system, it has no use except to act as a 'dummy' 
  332.         file for DOOR.BAT to pass on to.  You might find a use for it, 
  333.         though, if you intend to do any tidying up after running the door, 
  334.         like deleting work files, etc. 
  335.  
  336.  
  337.    INSTALLATION: 
  338.    ------------
  339.  
  340.         Now I'll try to describe the procedure of installing this baby. 
  341.         First, as I mentioned before, you should use an editor and the 
  342.         supplied D&B-EDIT program to edit the files.  The D&B-EDIT program 
  343.         is only a very simple little editor to edit the DIR.LST and BLT.LST 
  344.         files, since those have a special format, so don't expect a lot of 
  345.         glamour in it.  ProDoor has it's own installation system, so mine 
  346.         is only a preliminary setup routine to get things ready for 
  347.         ProDoor's setup system.  It needs to have certain files handy, and 
  348.         those files are what I'm providing here.  The trick is to make 
  349.         ProDoor THINK it's being installed on a PCBoard BBS, when in 
  350.         actuality, it's not.  If we're successful, it should install and 
  351.         configure itself, right???  Well...we'll see... 
  352.  
  353.         You should create a directory for the ProDoor files, and probably 
  354.         these as well, and copy these files into it.  Many of these files 
  355.         actually go into a directory called 'GEN' (under the 'PCB' 
  356.         directory), on a PCBoard system, so if you want, you can create a 
  357.         'GEN' directory under the ProDoor directory and put these into it, 
  358.         along with the DIRn and BLTn files.  
  359.  
  360.         Next, extract the ProDoor files into a temporary directory and run 
  361.         the INSTALL batch file.  The ProDoor files will be 'installed' into 
  362.         the ProDoor directory as per your answers to ProDoor's installation 
  363.         system.  You will probably NOT want to have it install it's entries 
  364.         in the DOORS menu, the DOORS.LST control file or the PCBPROT.DAT, 
  365.         as the PCBPROT.DAT file isn't used in ProDoor (it holds a list of 
  366.         protocols and their parameters and is only used inside PCBoard), 
  367.         and I doubt you'll be running ProDoor from WITHIN ProDoor.  It only 
  368.         does this to help you install it for PCBoard's use. 
  369.  
  370.         I won't go into detail on the installation of ProDoor, since you 
  371.         can see how THAT works by reading ProDoor's docs.  But some of the 
  372.         files needed are made by ProDoor if it finds them missing when it 
  373.         runs.  So after running the install program, get a copy of MAKE_USR 
  374.         and MAKE_SYS out (from my GTRPCB package) and create a USERS and 
  375.         PCBOARD.SYS file.  Then run ProDoor, giving it the name of it's 
  376.         configuration file (usually PROD.CNF) and the pathname of the 
  377.         'system directory' where the .SYS and .DAT files are.  It should 
  378.         load up and run, creating it's work directories, the CONFINFO and 
  379.         EXTUSER files.  Don't try doing anything else at this point.  Log 
  380.         out of ProDoor and load up PROSM to edit things.  Then edit the 
  381.         settings, pathnames, filenames, etc. for the conferences, the 
  382.         directory names of ProDoor's special work directories, any user 
  383.         settings (conference registrations, if you want them to have access 
  384.         to specific ones that they couldn't get into otherwise because 
  385.         they're marked as 'private'), and so on.  One of the important 
  386.         things you need to do is initialize the message base files.  This 
  387.         is done automatically if you exit a conference definition screen 
  388.         and it can't find those files. 
  389.  
  390.         You may also want to have it create a PACKALL.BAT, which is used 
  391.         with ProPack to pack the message base files.  This could be set up 
  392.         as an event, if you like. 
  393.  
  394.         There are some other things you can do inside PROSM, but those can 
  395.         come later, once you get the rest of the stuff going.  At this 
  396.         point, you SHOULD have a more-or-less usable door.  You will not 
  397.         need the CNAMES file any more.  Because in the installation, the 
  398.         info in there was put into the CONFINFO file. 
  399.  
  400.  
  401.    FREEWARE:
  402.    --------
  403.  
  404.         Hopefully, in all this mass confusion, I got everything in here 
  405.         that needs to be covered for installing ProDoor on your GT board.  
  406.         Like I said first off, this isn't an easy one to get going.  If you 
  407.         have any problems, send me a message via the various means below. 
  408.  
  409.         I'm not asking for any Shareware fees be sent to me if you like and 
  410.         use this 'kit'.  Since much of it is sort of 'borrowed' from 
  411.         sources relating to PCBoard and ProDoor, and since only the two 
  412.         included (and VERY minor) programs are my own, there's not a lot 
  413.         that I think I can get away with by asking for a registration fee.  
  414.         So I'm making it Freeware.  If I understand this one correctly, you 
  415.         can make copies, etc., and give them to friends, romans and 
  416.         countrymen, so long as you don't alter anything in it.  AND, you 
  417.         can't be making any money off of it, either.  So there!  But you 
  418.         can send me mail on whether or not you like it and if you have any 
  419.         problems with installing it. 
  420.  
  421.  
  422.                                        Scott Swaine, Sysop 
  423.                                        Console Command Headquarters 
  424.                                        Node 1:  (805) 968-5094 
  425.                                        Node 2:  (805) 968-9411 
  426.                                        Node 3:  (805) 968-0734 
  427.                                        24 hours/day 
  428.                                        300/1200/2400/9600 baud, 8-N-1 
  429.                                        GT Network net/node 054/000 
  430.  
  431.                                        CompuServe ID:  72057,1542 
  432.  
  433.